package com.woniuxy.woniuhis.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @RequestMapping({"/main"})
    public String tologin() {
        return "views/login.html";
    }
    @RequestMapping("/toreg")
    public String toreg(){
        return "views/register.html";
    }
}
